package Builder;

public class test {

    public static void main1(String[] args) {
        Computer c = new Computer.ComputerBuilder()
                .setCPU("贼你妈")
                .setmemory(6)
                .setstorage(8)
                .setGPU("zeniba shaniao")
                .builder();

        System.out.println(c);
    }
    public static void main(String[] args) {
        Person person = new Person.PersonBuilder()
                .setname("刘忠")
                .setage(16)
                .setsex("男")
                .builder();


        System.out.println(person);
    }
}
